﻿#region 命名空间

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.Serialization;
using System.Text;
using WinnerCMS.Common;

#endregion

namespace WinnerCMS.BLL
{
    public partial class CMSConfig
    {
        [Serializable, DataContract]
        public class SchedulerConfig
        {
            public SchedulerConfig()
            {
                TimerMinutesInterval = 1;
            }

            /// <summary>
            /// 是否启用任务调度
            /// </summary>
            [DisplayName("是否启用任务调度"), DataMember]
            public bool Enabled { get; set; }


            /// <summary>
            /// 间隔
            /// </summary>
            [DisplayName("间隔"), DataMember]
            public int TimerMinutesInterval { get; set; }
        }
    }
}